package com.jdls.tanhua.dubbo;

import com.jdls.tanhua.mongo.Visitors;
import com.jdls.tanhua.pojo.UserInfo;

import java.util.List;

/**
 * @author 嘉德罗斯
 * @date 2021/11/3
 */
public interface VisitorsApi {

    void save(Visitors visitors);

    List<Visitors> findByIds(Long date ,Long userId,String format);

    Visitors find(Long id, String format,String from,Long userId);

    void update(Visitors visitors);

    List<Visitors> findById(Long userId,int page, int pageSize);

    List<Visitors> findById(Long userId);
}
